package l1j.server.server.templates;

import l1j.server.server.datatables.ItemTable;

public class L1FusionTemp {
	
	private int _itemid;
	
	private int _amount;
	
	private String _name ;
	
	public boolean setItemId(final int id){
		L1Item temp = ItemTable.getInstance().getTemplate(id);
		if(temp ==null){
			return false;
		}
		_name = temp.getName();
			_itemid = id;
			return true;
	}
	public String getName(){
		return _name;
	}
	public void setAmount(final int count){
		_amount = count;
	}
	
	public int getItemId(){
		return _itemid;
	}
	
	public int getAmount(){
		return _amount;
	}
}
